package cn.bytepulse.web.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * 接口用户表
 *
 * @author jiejiebiezheyang
 * @since 2025-04-08 14:00
 */
@Data
@TableName(value = "api_customer")
public class ApiCustomer {
    /**
     * 客户id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 客户名
     */
    @TableField(value = "username")
    private String username;

    /**
     * 应用id
     */
    @TableField(value = "appid")
    private String appid;

    /**
     * 电子邮箱
     */
    @TableField(value = "email")
    private String email;

    /**
     * 手机号
     */
    @TableField(value = "phone")
    private String phone;

    /**
     * 0未启用 1启用
     */
    @TableField(value = "`enable`")
    private String enable;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;
}